package com.mzj.saas.mservice.propertybill.entity;

import com.mzj.saas.mservice.sys.entity.IdEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "saas_department_auditor")
public class DepartmentAuditor extends IdEntity {


    @ApiModelProperty("机构id")
    @Column(name = "dep_id", nullable = true)
    private Long depId;

    @ApiModelProperty("审核类型：0.账单审核；1.缴费凭证审核；2.线下缴费审核；3.线下退款")
    @Column(name = "type", nullable = true)
    private Integer type;

    @ApiModelProperty("审核人id")
    @Column(name = "user_id", nullable = true)
    private String userId;


    @ApiModelProperty("创建时间")
    @Column(name = "create_time", nullable = true)
    private Date createTime;


    @ApiModelProperty("创建人id")
    @Column(name = "create_user_id", nullable = true)
    private String createUserId;

    @ApiModelProperty("状态 0禁用 1启用 2已删除'")
    @Column(name = "status", nullable = true)
    private Integer status;

    @ApiModelProperty("手机号")
    @Column(name = "phone", nullable = true)
    private String phone;

    @ApiModelProperty("最后操作时间")
    @Column(name = "last_update_time", nullable = true)
    private Date lastUpdateTime;

    @ApiModelProperty("操作人id")
    @Column(name = "operator_id", nullable = true)
    private String operatorId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDepId() {
        return depId;
    }

    public void setDepId(Long depId) {
        this.depId = depId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }
}
